import axios from '@/utils/request'

// pdf获取
export const _getPdfPreview = (orgId:any,headers:any={responseType: "blob",}) => axios.get('/admin/wps/office/file/preview/'+orgId,headers)
// wps地址（创建word空白文件在线编辑地址）
export const _getWpsCreateTemplateFile = (token:any) => axios.get(`/admin/wps/office/file/createWordFile?access_token=`+token)
//单文件上传
export const _getFileupload = (data:any,headers:any={'Content-Type':'multipart/form-data'}) => axios.post(`http://121.89.234.12:7010/bcp-admin/api/system-file/upload`,data,headers)